<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Simple Asynchronous Messaging</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="rrdupdater.update.html">RRDUpdater::update</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.sam.html">简介</a></div>
 <div class="up"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="book.sam" class="book">
 <h1 class="title">Simple Asynchronous Messaging</h1>
 
 
 
 
 
 
 







 





 







 

 



<ul class="chunklist chunklist_book"><li><a href="intro.sam.html">简介</a></li><li><a href="sam.setup.html">安装／配置</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="sam.requirements.html">需求</a></li><li><a href="sam.installation.html">安装</a></li><li><a href="sam.configuration.html">运行时配置</a></li><li><a href="sam.resources.html">资源类型</a></li></ul></li><li><a href="sam.constants.html">预定义常量</a></li><li><a href="sam.examples.html">范例</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="sam.connections.html">Connections</a></li><li><a href="sam.messages.html">Messages</a></li><li><a href="sam.operations.html">Messaging operations</a></li><li><a href="sam.pubsub.html">Publish/Subscribe and subscriptions to topics</a></li><li><a href="sam.errors.html">Error handling</a></li></ul></li><li><a href="ref.sam.html">SAM 函数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="samconnection.commit.html">SAMConnection::commit</a> — Commits (completes) the current unit of work.</li><li><a href="samconnection.connect.html">SAMConnection::connect</a> — Establishes a connection to a Messaging Server</li><li><a href="samconnection.construct.html">SAMConnection::__construct</a> — Creates a new connection to a Messaging Server</li><li><a href="samconnection.disconnect.html">SAMConnection::disconnect</a> — Disconnects from a Messaging Server</li><li><a href="samconnection.errno.html">SAMConnection::errno</a> — Contains the unique numeric error code of the last executed SAM operation.</li><li><a href="samconnection.error.html">SAMConnection::error</a> — Contains the text description of the last failed SAM operation.</li><li><a href="samconnection.isconnected.html">SAMConnection::isConnected</a> — Queries whether a connection is established to a Messaging Server</li><li><a href="samconnection.peek.html">SAMConnection::peek</a> — Read a message from a queue without removing it from the queue.</li><li><a href="samconnection.peekall.html">SAMConnection::peekAll</a> — Read one or more messages from a queue without removing it from the queue.</li><li><a href="samconnection.receive.html">SAMConnection::receive</a> — Receive a message from a queue or subscription.</li><li><a href="samconnection.remove.html">SAMConnection::remove</a> — Remove a message from a queue.</li><li><a href="samconnection.rollback.html">SAMConnection::rollback</a> — Cancels (rolls back) an in-flight unit of work.</li><li><a href="samconnection.send.html">SAMConnection::send</a> — Send a message to a queue or publish an item to a topic.</li><li><a href="samconnection.setdebug.html">SAMConnection::setDebug</a> — Turn on or off additional debugging output.</li><li><a href="samconnection.subscribe.html">SAMConnection::subscribe</a> — Create a subscription to a specified topic.</li><li><a href="samconnection.unsubscribe.html">SAMConnection::unsubscribe</a> — Cancel a subscription to a specified topic.</li><li><a href="sammessage.body.html">SAMMessage::body</a> — The body of the message.</li><li><a href="sammessage.construct.html">SAMMessage::__construct</a> — Creates a new Message object</li><li><a href="sammessage.header.html">SAMMessage::header</a> — The header properties of the message.</li></ul></li></ul></div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="rrdupdater.update.html">RRDUpdater::update</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.sam.html">简介</a></div>
 <div class="up"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
